//
//  MateAppriseViewController.m
//  jinnengExam
//
//  Created by mac on 2020/8/11.
//  Copyright © 2020 jznrj. All rights reserved.
//

#import "MateAppriseViewController.h"
#import "JZLStarView.h"
@interface MateAppriseViewController ()
@property(nonatomic,strong) JZLStarView *rating1;
@end

@implementation MateAppriseViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    [self initView];
}

-(void)initView{

    _rating1 = [[JZLStarView alloc]init];
    _rating1.starCount = 5;
    _rating1.isAllowScroe = YES;
    _rating1.StarStyle = WholeStar;
    
    [self.view addSubview:self.rating1];
    [self.rating1 mas_makeConstraints:^(MASConstraintMaker *make) {
        make.width.equalTo(@100);
        make.height.equalTo(@50);
        make.center.equalTo(self.view);
    }];
    [self.rating1 addStars];
}
/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
